import request from "@/utils/request";


export function getLoginSMCode(data: GetLoginSMCodeReq) {
  return request.post<NullResponse>('dd_ddgl/index/get_login_sms', data)
}

export function loginPN(data: PNLoginReq) {
  return request.post<IResponse<IToken>>('dd_ddgl/index/mobile_login', data)
}

export function getBindYXLUrl() {
  return request.get<IResponse<string>>('dd_ddgl/index/getErpBindSign')
}

export function getMerchantInfo() {
  return request.get<IResponse<IUser>>('dd_ddgl/business/getInfo')
}
